using DevExpress.Utils;
using DevExpress.XtraBars;
using Common.Class;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace Common.Base
{
	public class XucToolBarB : XucBase
	{
		private IContainer components = null;
		private Bar BarM;
		private BarDockControl barDockControlTop;
		private BarDockControl barDockControlBottom;
		private BarDockControl barDockControlLeft;
		private BarDockControl barDockControlRight;
		public BarButtonItem bbiAdd;
		public ImageCollection img;
		public BarButtonItem bbiEdit;
		public BarButtonItem bbiChange;
		public BarButtonItem bbiDelete;
		public BarButtonItem bbiClose;
		public BarButtonItem bbiHelp;
		public BarButtonItem bbiExport;
		public BarButtonItem bbiSave;
		public BarButtonItem bbiCancel;
		public BarButtonItem bbiSaveNew;
		public BarButtonItem bbiImport;
		public BarButtonItem bbiPrint;
		public PopupMenu pm;
		public BarManager bm;
		public BarButtonItem bbiCopy;
		public BarButtonItem bbiDeleteAll;
		public BarButtonItem bbiHistory;
		public PopupMenu pmSave;
		public BarButtonItem bbiInventory;
		public BarButtonItem bbiSelectAll;
		public BarButtonItem bbiSaveM;
		public BarSubItem bbiProduct;
		public event ButtonClickEventHander ExportClick;
		public event ButtonClickEventHander AddClick;
		public event ButtonClickEventHander DeleteClick;
		public event ButtonClickEventHander PrintClick;
		public event ButtonClickEventHander CloseClick;
		public event ButtonClickEventHander SaveClick;
		public event ButtonClickEventHander CancleClick;
		public event ButtonClickEventHander SaveNewClick;
		public event ButtonClickEventHander HelpClick;
		public event ButtonClickEventHander CopyClick;
		public event ButtonClickEventHander ClearClick;
		public event ButtonClickEventHander HistoryClick;
		public event ButtonClickEventHander InventoryClick;
		public event ButtonClickEventHander SelectAllClick;
		[Category("Design"), DefaultValue(false), Description("Button Add")]
		public BarItemVisibility ButtonAdd
		{
			get
			{
				return this.bbiAdd.Visibility;
			}
			set
			{
				this.bbiAdd.Visibility = value;
				base.Update();
			}
		}
		[Category("Design"), DefaultValue(false), Description("Button Edit")]
		public BarItemVisibility ButtonEdit
		{
			get
			{
				return this.bbiEdit.Visibility;
			}
			set
			{
				this.bbiEdit.Visibility = value;
				base.Update();
			}
		}
		[Category("Design"), DefaultValue(false), Description("Button Print")]
		public BarItemVisibility ButtonPrint
		{
			get
			{
				return this.bbiPrint.Visibility;
			}
			set
			{
				this.bbiPrint.Visibility = value;
				base.Update();
			}
		}
		[Category("Design"), DefaultValue(false), Description("Button Change")]
		public BarItemVisibility ButtonChange
		{
			get
			{
				return this.bbiChange.Visibility;
			}
			set
			{
				this.bbiChange.Visibility = value;
				base.Update();
			}
		}
		[Category("Design"), DefaultValue(false), Description("Button Delete")]
		public BarItemVisibility ButtonDelete
		{
			get
			{
				return this.bbiDelete.Visibility;
			}
			set
			{
				this.bbiDelete.Visibility = value;
				base.Update();
			}
		}
		[Category("Design"), DefaultValue(false), Description("Button Delete")]
		public BarItemVisibility ButtonExport
		{
			get
			{
				return this.bbiExport.Visibility;
			}
			set
			{
				this.bbiExport.Visibility = value;
				base.Update();
			}
		}
		[Category("Design"), DefaultValue(false), Description("Button Save")]
		public BarItemVisibility ButtonSave
		{
			get
			{
				return this.bbiSave.Visibility;
			}
			set
			{
				this.bbiSave.Visibility = value;
				base.Show();
				this.BarM.Reset();
			}
		}
		[Category("Design"), DefaultValue(false), Description("Button SaveNew")]
		public BarItemVisibility ButtonSaveNew
		{
			get
			{
				return this.bbiSaveNew.Visibility;
			}
			set
			{
				this.bbiSaveNew.Visibility = value;
				base.Show();
				this.BarM.Reset();
			}
		}
		[Category("Design"), DefaultValue(false), Description("Button Cancel")]
		public BarItemVisibility ButtonCancel
		{
			get
			{
				return this.bbiCancel.Visibility;
			}
			set
			{
				this.bbiCancel.Visibility = value;
				base.Show();
				this.BarM.Reset();
			}
		}
		public XucToolBarB()
		{
			this.InitializeComponent();
		}
		private void RaiseSelectAllClickEventHander()
		{
			if (this.SelectAllClick != null)
			{
				this.SelectAllClick(this);
			}
		}
		private void RaiseInventoryClickEventHander()
		{
			if (this.InventoryClick != null)
			{
				this.InventoryClick(this);
			}
		}
		private void RaiseHistoryClickEventHander()
		{
			if (this.HistoryClick != null)
			{
				this.HistoryClick(this);
			}
		}
		private void RaiseClearClickEventHander()
		{
			if (this.ClearClick != null)
			{
				this.ClearClick(this);
			}
		}
		private void RaiseCopyClickEventHander()
		{
			if (this.CopyClick != null)
			{
				this.CopyClick(this);
			}
		}
		private void RaiseImportClickEventHander()
		{
		}
		private void RaiseHelpClickEventHander()
		{
			if (this.HelpClick != null)
			{
				this.HelpClick(this);
			}
		}
		private void RaiseAddClickEventHander()
		{
			if (this.AddClick != null)
			{
				this.AddClick(this);
			}
		}
		private void RaiseSaveClickEventHander()
		{
			if (this.SaveClick != null)
			{
				this.SaveClick(this);
			}
		}
		private void RaiseSaveNewClickEventHander()
		{
			if (this.SaveNewClick != null)
			{
				this.SaveNewClick(this);
			}
		}
		private void RaiseCancleClickEventHander()
		{
			if (this.CancleClick != null)
			{
				this.CancleClick(this);
			}
		}
		private void RaiseEditClickEventHander()
		{
		}
		private void RaiseChangeClickEventHander()
		{
		}
		private void RaiseDeleteClickEventHander()
		{
			if (this.DeleteClick != null)
			{
				this.DeleteClick(this);
			}
		}
		private void RaisePrintClickEventHander()
		{
			if (this.PrintClick != null)
			{
				this.PrintClick(this);
			}
		}
		private void RaiseCloseClickEventHander()
		{
			if (this.CloseClick != null)
			{
				this.CloseClick(this);
			}
		}
		private void RaiseExportEventHander()
		{
			if (this.ExportClick != null)
			{
				this.ExportClick(this);
			}
		}
		private void BbiAddItemClick(object sender, ItemClickEventArgs e)
		{
			this.RaiseAddClickEventHander();
		}
		private void BbiEditItemClick(object sender, ItemClickEventArgs e)
		{
			this.RaiseEditClickEventHander();
		}
		private void BbiChangeItemClick(object sender, ItemClickEventArgs e)
		{
			this.RaiseChangeClickEventHander();
		}
		private void BbiDeleteItemClick(object sender, ItemClickEventArgs e)
		{
			this.RaiseDeleteClickEventHander();
		}
		private void BbiPrintItemClick(object sender, ItemClickEventArgs e)
		{
			this.RaisePrintClickEventHander();
		}
		private void BbiCloseItemClick(object sender, ItemClickEventArgs e)
		{
			this.RaiseCloseClickEventHander();
		}
		private void BbiSaveItemClick(object sender, ItemClickEventArgs e)
		{
			this.bbiSaveM.Tag = "Close";
			this.bbiSaveM.ImageIndex = this.bbiSave.ImageIndex;
			this.bbiSaveM.Caption = this.bbiSave.Caption;
			this.RaiseSaveClickEventHander();
		}
		private void BbiCancelItemClick(object sender, ItemClickEventArgs e)
		{
			this.RaiseCancleClickEventHander();
		}
		private void BbiSaveNewItemClick(object sender, ItemClickEventArgs e)
		{
			this.bbiSaveM.Tag = "Add";
			this.bbiSaveM.ImageIndex = this.bbiSaveNew.ImageIndex;
			this.bbiSaveM.Caption = this.bbiSaveNew.Caption;
			this.RaiseSaveNewClickEventHander();
		}
		private void BbiExportItemClick(object sender, ItemClickEventArgs e)
		{
			this.RaiseExportEventHander();
		}
		private void BbiHelpItemClick(object sender, ItemClickEventArgs e)
		{
			this.RaiseHelpClickEventHander();
		}
		private void BbiImportItemClick(object sender, ItemClickEventArgs e)
		{
			this.RaiseImportClickEventHander();
		}
		private void BbiCopyItemClick(object sender, ItemClickEventArgs e)
		{
			this.RaiseCopyClickEventHander();
		}
		private void BbiClearItemClick(object sender, ItemClickEventArgs e)
		{
			this.RaiseClearClickEventHander();
		}
		private void BbiHistoryItemClick(object sender, ItemClickEventArgs e)
		{
			this.RaiseHistoryClickEventHander();
		}
		private void BbiInventoryItemClick(object sender, ItemClickEventArgs e)
		{
			this.RaiseInventoryClickEventHander();
		}
		private void BbiSelectAllItemClick(object sender, ItemClickEventArgs e)
		{
			this.RaiseSelectAllClickEventHander();
		}
		protected override void Dispose(bool disposing)
		{
			if (disposing && this.components != null)
			{
				this.components.Dispose();
			}
			base.Dispose(disposing);
		}
		private void InitializeComponent()
		{
			this.components = new Container();
			SuperToolTip superToolTip = new SuperToolTip();
			ToolTipItem toolTipItem = new ToolTipItem();
			SuperToolTip superToolTip2 = new SuperToolTip();
			ToolTipItem toolTipItem2 = new ToolTipItem();
			SuperToolTip superToolTip3 = new SuperToolTip();
			ToolTipItem toolTipItem3 = new ToolTipItem();
			SuperToolTip superToolTip4 = new SuperToolTip();
			ToolTipItem toolTipItem4 = new ToolTipItem();
			SuperToolTip superToolTip5 = new SuperToolTip();
			ToolTipItem toolTipItem5 = new ToolTipItem();
			ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(XucToolBarB));
			SuperToolTip superToolTip6 = new SuperToolTip();
			ToolTipItem toolTipItem6 = new ToolTipItem();
			SuperToolTip superToolTip7 = new SuperToolTip();
			ToolTipItem toolTipItem7 = new ToolTipItem();
			SuperToolTip superToolTip8 = new SuperToolTip();
			ToolTipItem toolTipItem8 = new ToolTipItem();
			SuperToolTip superToolTip9 = new SuperToolTip();
			ToolTipItem toolTipItem9 = new ToolTipItem();
			this.bm = new BarManager(this.components);
			this.BarM = new Bar();
			this.bbiAdd = new BarButtonItem();
			this.bbiSaveM = new BarButtonItem();
			this.pmSave = new PopupMenu(this.components);
			this.bbiSaveNew = new BarButtonItem();
			this.bbiSave = new BarButtonItem();
			this.bbiCancel = new BarButtonItem();
			this.bbiPrint = new BarButtonItem();
			this.bbiHelp = new BarButtonItem();
			this.bbiClose = new BarButtonItem();
			this.barDockControlTop = new BarDockControl();
			this.barDockControlBottom = new BarDockControl();
			this.barDockControlLeft = new BarDockControl();
			this.barDockControlRight = new BarDockControl();
			this.img = new ImageCollection(this.components);
			this.bbiEdit = new BarButtonItem();
			this.bbiChange = new BarButtonItem();
			this.bbiDelete = new BarButtonItem();
			this.bbiExport = new BarButtonItem();
			this.bbiImport = new BarButtonItem();
			this.bbiCopy = new BarButtonItem();
			this.bbiDeleteAll = new BarButtonItem();
			this.bbiHistory = new BarButtonItem();
			this.bbiInventory = new BarButtonItem();
			this.bbiSelectAll = new BarButtonItem();
			this.bbiProduct = new BarSubItem();
			this.pm = new PopupMenu(this.components);
			((ISupportInitialize)this.bm).BeginInit();
			((ISupportInitialize)this.pmSave).BeginInit();
			((ISupportInitialize)this.img).BeginInit();
			((ISupportInitialize)this.pm).BeginInit();
			base.SuspendLayout();
			this.bm.AllowCustomization = false;
			this.bm.AllowMoveBarOnToolbar = false;
			this.bm.AllowQuickCustomization = false;
			this.bm.AllowShowToolbarsPopup = false;
			this.bm.AutoSaveInRegistry = true;
			this.bm.Bars.AddRange(new Bar[]
			{
				this.BarM
			});
			this.bm.DockControls.Add(this.barDockControlTop);
			this.bm.DockControls.Add(this.barDockControlBottom);
			this.bm.DockControls.Add(this.barDockControlLeft);
			this.bm.DockControls.Add(this.barDockControlRight);
			this.bm.DockWindowTabFont = new Font("Tahoma", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0);
			this.bm.Form = this;
			this.bm.Images = this.img;
			this.bm.Items.AddRange(new BarItem[]
			{
				this.bbiAdd,
				this.bbiEdit,
				this.bbiChange,
				this.bbiDelete,
				this.bbiClose,
				this.bbiHelp,
				this.bbiExport,
				this.bbiSave,
				this.bbiCancel,
				this.bbiSaveNew,
				this.bbiImport,
				this.bbiCopy,
				this.bbiPrint,
				this.bbiDeleteAll,
				this.bbiHistory,
				this.bbiInventory,
				this.bbiSelectAll,
				this.bbiSaveM,
				this.bbiProduct
			});
			this.bm.LargeImages = this.img;
			this.bm.MainMenu = this.BarM;
			this.bm.MaxItemId = 69;
			this.bm.MdiMenuMergeStyle = BarMdiMenuMergeStyle.Never;
			this.bm.UseAltKeyForMenu = false;
			this.bm.UseF10KeyForMenu = false;
			this.BarM.BarName = "Main menu";
			this.BarM.CanDockStyle = BarCanDockStyle.Bottom;
			this.BarM.DockCol = 0;
			this.BarM.DockRow = 0;
			this.BarM.DockStyle = BarDockStyle.Bottom;
			this.BarM.FloatLocation = new Point(83, 126);
			this.BarM.LinksPersistInfo.AddRange(new LinkPersistInfo[]
			{
				new LinkPersistInfo(BarLinkUserDefines.PaintStyle, this.bbiAdd, "", true, true, true, 0, null, BarItemPaintStyle.CaptionGlyph),
				new LinkPersistInfo(BarLinkUserDefines.PaintStyle, this.bbiSaveM, "", true, true, true, 0, null, BarItemPaintStyle.CaptionGlyph),
				new LinkPersistInfo(BarLinkUserDefines.PaintStyle, this.bbiCancel, "", true, true, true, 0, null, BarItemPaintStyle.CaptionGlyph),
				new LinkPersistInfo(BarLinkUserDefines.PaintStyle, this.bbiPrint, "", true, true, true, 0, null, BarItemPaintStyle.CaptionGlyph),
				new LinkPersistInfo(BarLinkUserDefines.PaintStyle, this.bbiHelp, "", true, true, true, 0, null, BarItemPaintStyle.CaptionGlyph),
				new LinkPersistInfo(BarLinkUserDefines.PaintStyle, this.bbiClose, "", true, true, true, 0, null, BarItemPaintStyle.CaptionGlyph)
			});
			this.BarM.OptionsBar.AllowQuickCustomization = false;
			this.BarM.OptionsBar.DrawDragBorder = false;
			this.BarM.OptionsBar.RotateWhenVertical = false;
			this.BarM.OptionsBar.UseWholeRow = true;
			this.BarM.Text = "Main menu";
			this.bbiAdd.Caption = "&Tạo Mới";
			this.bbiAdd.Id = 0;
			this.bbiAdd.ImageIndex = 6;
			this.bbiAdd.ItemShortcut = new BarShortcut((Keys)131150);
			this.bbiAdd.LargeImageIndex = 6;
			this.bbiAdd.Name = "bbiAdd";
			toolTipItem.Text = "Alt-T\r\nCtrl+N";
			superToolTip.Items.Add(toolTipItem);
			this.bbiAdd.SuperTip = superToolTip;
			this.bbiAdd.ItemClick += new ItemClickEventHandler(this.BbiAddItemClick);
			this.bbiSaveM.ButtonStyle = BarButtonStyle.DropDown;
			this.bbiSaveM.Caption = "Lưu && Thêm";
			this.bbiSaveM.DropDownControl = this.pmSave;
			this.bbiSaveM.Id = 61;
			this.bbiSaveM.ImageIndex = 10;
			this.bbiSaveM.Name = "bbiSaveM";
			this.bbiSaveM.Tag = "Close";
			this.bbiSaveM.ItemClick += new ItemClickEventHandler(this.BbiSaveNewItemClick);
			this.pmSave.LinksPersistInfo.AddRange(new LinkPersistInfo[]
			{
				new LinkPersistInfo(this.bbiSaveNew),
				new LinkPersistInfo(this.bbiSave)
			});
			this.pmSave.Manager = this.bm;
			this.pmSave.Name = "pmSave";
			this.bbiSaveNew.Caption = "Lưu && Thêm";
			this.bbiSaveNew.Id = 24;
			this.bbiSaveNew.ImageIndex = 21;
			this.bbiSaveNew.LargeImageIndex = 10;
			this.bbiSaveNew.Name = "bbiSaveNew";
			toolTipItem2.Text = "F2\r\nCtrl+ Shift+S\r\nCtrl+W";
			superToolTip2.Items.Add(toolTipItem2);
			this.bbiSaveNew.SuperTip = superToolTip2;
			this.bbiSaveNew.ItemClick += new ItemClickEventHandler(this.BbiSaveNewItemClick);
			this.bbiSave.Caption = "&Lưu && Đóng";
			this.bbiSave.Id = 22;
			this.bbiSave.ImageIndex = 10;
			this.bbiSave.ItemShortcut = new BarShortcut((Keys)131159, (Keys)131155);
			this.bbiSave.LargeImageIndex = 10;
			this.bbiSave.Name = "bbiSave";
			this.bbiSave.ItemClick += new ItemClickEventHandler(this.BbiSaveItemClick);
			this.bbiCancel.Caption = "Bỏ qua";
			this.bbiCancel.Id = 23;
			this.bbiCancel.ImageIndex = 38;
			this.bbiCancel.LargeImageIndex = 41;
			this.bbiCancel.Name = "bbiCancel";
			toolTipItem3.Text = "ESC";
			superToolTip3.Items.Add(toolTipItem3);
			this.bbiCancel.SuperTip = superToolTip3;
			this.bbiCancel.ItemClick += new ItemClickEventHandler(this.BbiCancelItemClick);
			this.bbiPrint.Caption = "In";
			this.bbiPrint.Id = 44;
			this.bbiPrint.ImageIndex = 9;
			this.bbiPrint.ItemShortcut = new BarShortcut((Keys)131152);
			this.bbiPrint.Name = "bbiPrint";
			this.bbiPrint.ItemClick += new ItemClickEventHandler(this.BbiPrintItemClick);
			this.bbiHelp.Caption = "Trợ giúp";
			this.bbiHelp.Id = 18;
			this.bbiHelp.ImageIndex = 25;
			this.bbiHelp.ItemShortcut = new BarShortcut(Keys.F1);
			this.bbiHelp.Name = "bbiHelp";
			toolTipItem4.Text = "F1";
			superToolTip4.Items.Add(toolTipItem4);
			this.bbiHelp.SuperTip = superToolTip4;
			this.bbiHelp.Visibility = BarItemVisibility.Never;
			this.bbiHelp.ItemClick += new ItemClickEventHandler(this.BbiHelpItemClick);
			this.bbiClose.Caption = "&Đóng";
			this.bbiClose.Id = 6;
			this.bbiClose.ImageIndex = 22;
			this.bbiClose.ItemShortcut = new BarShortcut(Keys.F10);
			this.bbiClose.Name = "bbiClose";
			toolTipItem5.Text = "F10";
			superToolTip5.Items.Add(toolTipItem5);
			this.bbiClose.SuperTip = superToolTip5;
			this.bbiClose.ItemClick += new ItemClickEventHandler(this.BbiCloseItemClick);
			this.img.ImageStream = (ImageCollectionStreamer)componentResourceManager.GetObject("img.ImageStream");
			this.img.Images.SetKeyName(61, "Vista (35).ico");
			this.img.Images.SetKeyName(62, "Security.ico");
			this.img.Images.SetKeyName(63, "1316056693_magnifier-history-left.png");
			this.img.Images.SetKeyName(64, "1316056721_inventory_categories.png");
			this.bbiEdit.Caption = "&Sửa Chữa";
			this.bbiEdit.Id = 1;
			this.bbiEdit.ImageIndex = 14;
			this.bbiEdit.ItemShortcut = new BarShortcut(Keys.F2);
			this.bbiEdit.LargeImageIndex = 14;
			this.bbiEdit.Name = "bbiEdit";
			toolTipItem6.Text = "F2\r\nEnter";
			superToolTip6.Items.Add(toolTipItem6);
			this.bbiEdit.SuperTip = superToolTip6;
			this.bbiEdit.ItemClick += new ItemClickEventHandler(this.BbiEditItemClick);
			this.bbiChange.Caption = " T&hay đổi";
			this.bbiChange.Id = 2;
			this.bbiChange.ImageIndex = 14;
			this.bbiChange.Name = "bbiChange";
			this.bbiChange.PaintStyle = BarItemPaintStyle.CaptionInMenu;
			toolTipItem7.Text = "F2\r\nCtrl+E\r\nEnter";
			superToolTip7.Items.Add(toolTipItem7);
			this.bbiChange.SuperTip = superToolTip7;
			this.bbiChange.Visibility = BarItemVisibility.Never;
			this.bbiChange.ItemClick += new ItemClickEventHandler(this.BbiChangeItemClick);
			this.bbiDelete.Caption = "&Xoá";
			this.bbiDelete.Id = 3;
			this.bbiDelete.ImageIndex = 13;
			this.bbiDelete.ItemShortcut = new BarShortcut(Keys.RButton | Keys.MButton | Keys.Back | Keys.Space | Keys.Control);
			this.bbiDelete.Name = "bbiDelete";
			toolTipItem8.Text = "Alt-X\r\nDelete";
			superToolTip8.Items.Add(toolTipItem8);
			this.bbiDelete.SuperTip = superToolTip8;
			this.bbiDelete.ItemClick += new ItemClickEventHandler(this.BbiDeleteItemClick);
			this.bbiExport.Caption = "Xuất ";
			this.bbiExport.Id = 19;
			this.bbiExport.ImageIndex = 26;
			this.bbiExport.ItemShortcut = new BarShortcut((Keys)131141);
			this.bbiExport.LargeImageIndex = 26;
			this.bbiExport.Name = "bbiExport";
			toolTipItem9.Text = "Ctrl+E";
			superToolTip9.Items.Add(toolTipItem9);
			this.bbiExport.SuperTip = superToolTip9;
			this.bbiExport.ItemClick += new ItemClickEventHandler(this.BbiExportItemClick);
			this.bbiImport.Caption = "Nhập";
			this.bbiImport.Id = 30;
			this.bbiImport.ImageIndex = 55;
			this.bbiImport.LargeImageIndexDisabled = 53;
			this.bbiImport.Name = "bbiImport";
			this.bbiImport.Visibility = BarItemVisibility.Never;
			this.bbiImport.ItemClick += new ItemClickEventHandler(this.BbiImportItemClick);
			this.bbiCopy.Caption = "Chép vào ClipBoard";
			this.bbiCopy.Id = 42;
			this.bbiCopy.ImageIndex = 1;
			this.bbiCopy.ItemShortcut = new BarShortcut((Keys)196675);
			this.bbiCopy.Name = "bbiCopy";
			this.bbiCopy.ItemClick += new ItemClickEventHandler(this.BbiCopyItemClick);
			this.bbiDeleteAll.Caption = "Xoá tất cả";
			this.bbiDeleteAll.Id = 46;
			this.bbiDeleteAll.ImageIndex = 13;
			this.bbiDeleteAll.ItemShortcut = new BarShortcut(Keys.RButton | Keys.MButton | Keys.Back | Keys.Space | Keys.Control);
			this.bbiDeleteAll.Name = "bbiDeleteAll";
			this.bbiDeleteAll.ItemClick += new ItemClickEventHandler(this.BbiClearItemClick);
			this.bbiHistory.Caption = "Lịch Sử";
			this.bbiHistory.Id = 49;
			this.bbiHistory.ImageIndex = 63;
			this.bbiHistory.Name = "bbiHistory";
			this.bbiHistory.ItemClick += new ItemClickEventHandler(this.BbiHistoryItemClick);
			this.bbiInventory.Caption = "Xem tồn kho";
			this.bbiInventory.Id = 51;
			this.bbiInventory.ImageIndex = 64;
			this.bbiInventory.Name = "bbiInventory";
			this.bbiInventory.ItemClick += new ItemClickEventHandler(this.BbiInventoryItemClick);
			this.bbiSelectAll.Caption = "Chọn Hết";
			this.bbiSelectAll.Id = 58;
			this.bbiSelectAll.ImageIndex = 0;
			this.bbiSelectAll.ItemShortcut = new BarShortcut((Keys)131137);
			this.bbiSelectAll.Name = "bbiSelectAll";
			this.bbiSelectAll.ItemClick += new ItemClickEventHandler(this.BbiSelectAllItemClick);
			this.bbiProduct.Caption = "Hàng Hoá";
			this.bbiProduct.Id = 62;
			this.bbiProduct.ImageIndex = 24;
			this.bbiProduct.LinksPersistInfo.AddRange(new LinkPersistInfo[]
			{
				new LinkPersistInfo(this.bbiHistory),
				new LinkPersistInfo(this.bbiInventory)
			});
			this.bbiProduct.Name = "bbiProduct";
			this.pm.LinksPersistInfo.AddRange(new LinkPersistInfo[]
			{
				new LinkPersistInfo(this.bbiDelete),
				new LinkPersistInfo(this.bbiDeleteAll),
				new LinkPersistInfo(this.bbiSelectAll, true),
				new LinkPersistInfo(this.bbiSave, true),
				new LinkPersistInfo(this.bbiProduct, true),
				new LinkPersistInfo(this.bbiHelp),
				new LinkPersistInfo(this.bbiClose, true)
			});
			this.pm.Manager = this.bm;
			this.pm.Name = "pm";
			base.Controls.Add(this.barDockControlLeft);
			base.Controls.Add(this.barDockControlRight);
			base.Controls.Add(this.barDockControlBottom);
			base.Controls.Add(this.barDockControlTop);
			base.Name = "XucToolBarB";
			base.Size = new Size(625, 26);
			((ISupportInitialize)this.bm).EndInit();
			((ISupportInitialize)this.pmSave).EndInit();
			((ISupportInitialize)this.img).EndInit();
			((ISupportInitialize)this.pm).EndInit();
			base.ResumeLayout(false);
		}
	}
}
